package com.chengqj.cglib.proxy;

import com.chengqj.dynamic.proxy.ChengqjPerson;

/**
 * @program: proxy
 * @description: cglib代理类测试
 * @author: chengqj
 * @create: 2018-07-27 11:47
 **/
public class CglibProxyTest {
    public static void main(String[] args) throws Exception {
        CglibProxy proxy = new CglibProxy();
        ChengqjPerson personProxy = (ChengqjPerson)proxy.getInstance(ChengqjPerson.class);
        personProxy.findLove();
    }
}
